-- XSD schema extracted from ITU-T H.627 (08/2020)

<?xml version="1.0" encoding="utf-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema"> <choice maxOccurs="unbounded"> <element name="Response"> <complexType> <sequence> <!-- The query request response message is shown as follows.--> <!-- Command type: Guard position information query (required) --> <element name="CmdType" fixed="HomePositionQuery"/> <!-- Command SN (required) --> <element name="SN" type="integer" minInclusive="1"/> <!-- Target device code (required) --> <element name="DeviceID" type="deviceIDType"/> <!-- Guard position configuration information (optional) --> <element name="HomePosition" minOccurs="0"> <complexType> <sequence> <!-- Guard position switch (required), 0-off; 1-open --> <element name="Enabled" type="integer"/> <!-- Automatic home time interval, used when opening guard position, unit: seconds (optional)--> <element name="ResetTime" type="integer" minOccurs="0"/> <!-- Call the preset number and use when opening the guard position (optional). The value range is greater than or equal to 0 and less than or equal to 255.--> <element name="PresetIndex" minOccurs="0"> <simpleType> <restriction base="integer"> <minInclusive value="0"/> <maxInclusive value="255"/> </restriction> </simpleType> </element> </sequence> </complexType> </element> </sequence> </complexType> </element> </choice> </schema>